package com.company.hashtable;

/**
 * @author shenhan
 * @create 2020/2/2 21:28
 * @description
 */
public class HashTableDemo {
    public static void main(String[] args) {
        HashTab hashTab = new HashTab(7);
        hashTab.add(new Emp(8,"shenhan1"));
        hashTab.add(new Emp(2,"shenhan2"));
        hashTab.add(new Emp(1,"shenhan3"));
        hashTab.list();
        System.out.println(hashTab.find(8).toString());
    }
}
